package com.moli.service;

import com.moli.domain.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author xiaolu
 * @Date 2023/6/8
 * @Description 头像上传服务类
 */
public interface UploadService {

    /**
     * 文件上传功能
     * @param img
     * @return
     * @throws IOException
     */
    ResponseResult uploadImg(MultipartFile img) throws IOException;
}